/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-01-07
 * Time: 20:50
 */
public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList() ;
        myLinkedList.addLast(2);
        myLinkedList.addLast(5);
        myLinkedList.addLast(1);
        myLinkedList.addLast(5);
        myLinkedList.addLast(22);
        myLinkedList.addLast(5);
        myLinkedList.addLast(5);
        myLinkedList.display();
        System.out.println("======================");
        myLinkedList.clear();
        myLinkedList.display();

    }
}
